package com.jic.order.mapper;

import java.lang.Long;
import java.util.List;

import com.jic.order.entity.OrderOutStockNotice;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 无货提醒
 * @author : 
 * @email : 
 * @since : 2020-08-12 10:23:25
 * @version : v1.0.0
 */
@Mapper
public interface  OrderOutStockNoticeMapper {

    long insert(OrderOutStockNotice orderOutStockNotice);

    long delete(Long id);

    long update(OrderOutStockNotice orderOutStockNotice);

    OrderOutStockNotice queryByPrimaryKey(Long id);

    List<OrderOutStockNotice> query(OrderOutStockNotice orderOutStockNotice);

    List<OrderOutStockNotice> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("orderOutStockNotice") OrderOutStockNotice orderOutStockNotice);

    long queryPageCount(OrderOutStockNotice orderOutStockNotice);
}